package com.woniu.common.utils.token;

import java.util.Date;

/**
 * @author 杨光
 * @date 2021年08月12日 15:33
 *
 * 注意： token里面绝对不能放密码等敏感信息
 */
public class AccToken {


    private Integer userId;
    private String userName;
    private String userAccount;
    private Date expireDateTime;//jwttoken的超时时间


    public AccToken() {
    }

    public AccToken(Integer userId, String userName, String userAccount) {
        this.userId = userId;
        this.userName = userName;
        this.userAccount = userAccount;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public Date getExpireDateTime() {
        return expireDateTime;
    }

    public void setExpireDateTime(Date expireDateTime) {
        this.expireDateTime = expireDateTime;
    }
}
